{% if not form.is_valid %}
  Please enter a number
{% elif number_is_odd %}
  {{ form.number.value }} is odd!
{% else %}
  {{ form.number.value }} is not odd.
{% endif %}
